package com.mysky.client.mvp.audioplayer.event;

import com.google.gwt.event.shared.EventHandler;
import com.google.gwt.event.shared.GwtEvent;
import com.mysky.client.mvp.audioplayer.event.MDPauseResumeEvent.MDPauseResumeEventHandler;

public class MDPauseResumeEvent extends
		GwtEvent<MDPauseResumeEventHandler> {

	public static final Type<MDPauseResumeEventHandler> TYPE = new Type<MDPauseResumeEventHandler>();

	public MDPauseResumeEvent() {
		super();
	}

	public interface MDPauseResumeEventHandler extends EventHandler {
		void handleEvent(MDPauseResumeEvent event);
	}

	@Override
	public Type<MDPauseResumeEventHandler> getAssociatedType() {
		return TYPE;
	}

	@Override
	protected void dispatch(MDPauseResumeEventHandler handler) {
		handler.handleEvent(this);
	}
}